package com.ruoyi.common.annotation;

import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;

/**
 * Description: com.ruoyi.common.annotation
 * User: hushibo
 * Date: 2021-06-10 10:03
 * Time: 10:03
 * Version: 1.0
 */
//public interface RsaSecurityParameter {
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Mapping
@Documented
public @interface RsaSecurityParameter {

    /**
     * 入参是否解密，默认解密
     */
    boolean inDecode() default true;

    /**
     * 出参是否加密，默认加密
     */
    boolean outEncode() default true;
}
